Skip to main content
Version: Upcoming

SRAlertRecord

V8 Message Definiton

METADATA

AttributeValue
Topic3985-parent-orders
MLink TokenClientTrading
ProductSRTrade
accessTypeSELECT
MLink EndpointMLink-Order

Table Definition

FieldTypeKeyDefault ValueComment
accntVARCHAR(16)PRI''SpiderRock trading accnt broker pkey
clientFirmVARCHAR(16)PRI''SR client firm
userNameVARCHAR(24)PRI''
alertTypeVARCHAR(24)PRI''
alertSourceVARCHAR(24)PRI''
alertPriorityenum - AlertPriorityPRI'None'
histWindowINTPRI0counter 10 most recent event window
alertTextTINYTEXT''
counterINT0
timestampDATETIME(6)'1900-01-01 00:00:00.000000'timestamp of last modification

PRIMARY KEY DEFINITION (Unique)

FieldSequence
accnt1
clientFirm2
userName3
alertType4
alertSource5
alertPriority6
histWindow7

SELECT TABLE EXAMPLE QUERY

SELECT *
FROM `SRTrade`.`MsgSRAlertRecord`
WHERE
/* Replace with a VARCHAR(16) */
`accnt` = 'Example_accnt'
AND
/* Replace with a VARCHAR(16) */
`clientFirm` = 'Example_clientFirm'
AND
/* Replace with a VARCHAR(24) */
`userName` = 'Example_userName'
AND
/* Replace with a VARCHAR(24) */
`alertType` = 'Example_alertType'
AND
/* Replace with a VARCHAR(24) */
`alertSource` = 'Example_alertSource'
AND
/* Replace with a ENUM('None','Low','High') */
`alertPriority` = 'None'
AND
/* Replace with a INT */
`histWindow` = 5;

Doc Columns Query

SELECT * FROM SRTrade.doccolumns WHERE TABLE_NAME='SRAlertRecord' ORDER BY ordinal_position ASC;